home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20010306-20010921
/
000310_shifeux@hotmail.com_Tue Aug 14 10:51:18 EDT 2001.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
3KB
|
63 lines
Article: 12669 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: shifeux@hotmail.com (Shifeux)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit Scripts and Shell Scripts
Date: 14 Aug 2001 06:45:18 -0700
Organization: http://groups.google.com/
Lines: 44
Message-ID: <336f652d.0108140545.1a1c8658@posting.google.com>
References: <336f652d.0108130841.43ce0ed5@posting.google.com> <9l909g$bse$1@newsmaster.cc.columbia.edu>
NNTP-Posting-Host: 146.145.217.201
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 997796718 10393 127.0.0.1 (14 Aug 2001 13:45:18 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 14 Aug 2001 13:45:18 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12669
I am using: C-Kermit 7.0.197, 8 Feb 2000, for Data General DG/UX
R4.20 I am trying to call the perl script from within an IF statement
using the "run" command (I also toyed around with "exec") The perl
does work fine by itself. It seems like the IF construct is causing
the Kermit script to crash at the point of the run command. When I
comment out the IF statement the script runs fine. I have tried
various different things but nothing will let this run command run.
Here is a listing of the latest try at the if statement.
if failure timeout
minput 10 {No files found} {Total of}
switch \v(minput) {
:1, if failure write TRANSACTION-LOG Files Found\13\10, define
\%o 1, br
eak
:2, cp /kermit_scripts/\%r.termlog
/cleoa+/kermit_scripts/\%r.files, break
}
run /kermit_scripts/xxxxxxx.pl, pause 5, -
define \%o 1, break
input 10 {choice : }
if failure timeout
Thanks for the help
fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote in message news:<9l909g$bse$1@newsmaster.cc.columbia.edu>...
> In article <336f652d.0108130841.43ce0ed5@posting.google.com>,
> Shifeux <shifeux@hotmail.com> wrote:
> : Hi, I have a perl script that I am trying to call from a kermit
> : script. The kermit script will crash at the point of calling the perl
> : script. There seems to be something wrong with the call that C-Kermit
> : makes to the shell within a ksc script. Can someone pplease point me
> : in the right direction for refences to calling a seperate script from
> : the kermit script. Thanks.
> :
> Which Kermit program are you using, which version, on what platform?
> How are you calling the Perl script from it? Does the same Perl script
> run correctly when invoked directly from the shell?
>
> - Frank